//基于axios封装请求
import thisAxios from 'axios'
const axios = thisAxios.create({
    baseURL: 'https://cloud-music-serve-1.vercel.app/',
    timeout: 20000
})
export default ({ url, method = 'GET', params = {}, data = {}, header = {} }) => {
    return axios({
        url,
        method,
        params,
        data,
        header
    })
}